﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace T.FAS.Runtime.Base.Entity
{
    /// <summary>
    /// 图表实例应用
    /// </summary>
    [Serializable]
    [DataContract]
    public class ChartInstanceApply
    {
        /// <summary>
        /// 主键
        /// </summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>
        /// 图表实例ID
        /// </summary>
        [DataMember]
        public string ChartInstanceID { get;set; }
        /// <summary>
        /// 图表库
        /// </summary>
        [DataMember]
        public ChartLib ChartLib { get; set; }
        /// <summary>
        /// 来源ID
        /// </summary>
        public string TargetID { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public TargetType TargetType { get; set; }
        /// <summary>
        /// 图表编码
        /// </summary>
        [DataMember]
        public string Code { get; set; }
        /// <summary>
        /// 图表名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }
        /// <summary>
        /// 图表库ID
        /// </summary>
        [DataMember]
        public string ChartLibItemID { get; set; }
        /// <summary>
        /// 数据源ID
        /// </summary>
        [DataMember]
        public string DataSourceID { get; set; }
        /// <summary>
        /// 示例数据
        /// </summary>
        [DataMember]
        public string DemoData { get; set; }
        /// <summary>
        /// 图表内容
        /// </summary>
        [DataMember]
        public string ChartContent { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int SortOrder { get; set; }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LastModifier { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime LastModifyTime { get; set; }
    }
}
